package com.xindaoapp.happypet.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.xindaoapp.happypet.utils.KeyValuePair;

public class PostInfo3 implements Serializable {
    private static final long serialVersionUID = 5015180628653253505L;

    public PostInfo3() {
        super();
    }

    /**
     * 帖子fid
     */
    public String fid = "";

    /**
     * 标题
     */
    public String title = "";
    /**
     * 帖子内容
     */
    public String content = "";

    /** 回复用到 */
    public String tid = "";
    public String pid = "";

    /**
     * 发送成功的aid数组 <br/>
     * first:图片aid数组<br/>
     * second:视频aid数组
     */
    public KeyValuePair<List<KeyValuePair<String, String>>, List<KeyValuePair<String, String>>> successArray =
            new KeyValuePair<List<KeyValuePair<String, String>>, List<KeyValuePair<String, String>>>(
                    new ArrayList<KeyValuePair<String, String>>(),
                    new ArrayList<KeyValuePair<String, String>>());

    /**
     * 正在发送的队列 <br/>
     * first 图片/文件路径 <br/>
     * second 文件类型 [0 图片] [1 视频]
     */
    public List<KeyValuePair<String, Integer>> sendingArray =
            new ArrayList<KeyValuePair<String, Integer>>();

    /**
     * 视频封面
     */
    public String videoCover = "";

    public String webvideodata = "";

    /**
     * 发帖时间
     */
    public long postTime;

    public int isSendShare = 0;

    /**
     * 用户选择的标签
     */
    public String tags = "";

    public PostInfo3(
            String fid,
            String title,
            String content,
            KeyValuePair<List<KeyValuePair<String, String>>, List<KeyValuePair<String, String>>> successArray,
            List<KeyValuePair<String, Integer>> sendingArray, String videoCover, long postTime) {
        super();
        this.fid = fid;
        this.title = title;
        this.content = content;
        this.successArray = successArray;
        this.sendingArray = sendingArray;
        this.videoCover = videoCover;
        this.postTime = postTime;
    }

}
